Repository navigation
Trim About's How to use and link it to the tour - #93
Merged
Merged
Conversation
The three-step quick start becomes one paragraph, plus a desktop-only "Take the tour" link that opens the graph view with the tour showing, even if it was seen before. The router-state hook behind About's "Create a graph" now carries both requests (useRouteRequest). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for alignment-graph ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
"Take the tour" from About did nothing visible when the active graph was empty, then sprang the tour later. An explicit request now opens it as soon as no modal or discard prompt is in the way; the automatic start still waits for a graph with papers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
AI review: AI-CLEAREDReviewed Findings
Checked and fine
No risk paths triggered: the diff is limited to UI components and a hook. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Follow-up to #92, from the feedback doc ("About page: shorten it… move 'how to use' into the tour").
/with router state{ tour: true }. GraphView opens the tour once a graph with papers is showing (the same rules as auto-start: after any modal or discard prompt), even if it was seen before. The request is used up when the tour opens, and the router state is cleared, so a reload or Back doesn't repeat it.useNewGraphRequest.tsis renamed touseRouteRequest.ts. It now handles bothnewGraph(About's "Create a graph") andtour, and the existinguseNewGraphRequestexport behaves the same.Testing
npm run typecheck,npm run lintandnpm testpass (120 tests)/and clears the router state.🤖 Generated with Claude Code